// app.js
App({
    globalData: {
      mqttConnected: false,
      deviceStatus: {
        temp: 0,
        hum: 0,
        light: 0,
        soil: 0,
        pump: false,
        lightCtrl: false,
        fan: false,
        autoMode: true,
        threshold: 30
      }
    }
  })